package com.jungle.sp.daily.feature.d6_sequenced_collection;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.SequencedCollection;

/**
 * @author Jungle
 * @create 2024-07-14 7:48
 */
public class Demo {
    public static void main(String[] args) {
      List<Integer> integers = new ArrayList<>(Arrays.asList(10, 20, 30, 40, 50));
        SequencedCollection<Integer> reversed = integers.reversed();
        System.out.println(reversed);
    }
}
